package com.tarena.lbs.coupon.base.exception;

import com.tarena.lbs.coupon.base.response.StatusCode;
import lombok.Getter;

/**
 * 自定义业务异常类
 */
@Getter
public class ServiceException extends RuntimeException{

    private final StatusCode statusCode;

    public ServiceException(StatusCode statusCode) {
        this.statusCode = statusCode;
    }
}
